package com.bosssoft.promotions.service;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/*
* 促销策略
*/
@Service
public interface PromotionService {




    /* 定金促销 */
    Map<String,BigDecimal> getDeposit(String promotionId, String price);
    /* 满减促销 */
    BigDecimal getFullReduction(String promotionId, String price);
    /* 套装促销 */
    BigDecimal getSuit(String promotionId, List<String> ids);
    /* 折扣促销 */
    BigDecimal getDiscount(String promotionId, String price);
    /*  查找可用满减 */
    List<String> justice(String promotionId,List<String> ids);





}
